<?php use_stylesheet('frontend/modules/post.css') ?>

<?php slot('content_right') ?>
  <fb:like href="http://www.jnieto.org/" show_faces="true" width="450" font="verdana"></fb:like>
<?php end_slot() ?>

<?php foreach ($posts as $post): ?>
  <div class="post">
    <h1><?php echo link_to($post->getTitle(), '@post_show?slug='.$post->getSlug()) ?></h1>
    <br/>
    <span>
      <?php foreach ($post->getCategories() as $category): ?>
        <?php echo $category->getName() ?> |
      <?php endforeach ?>
      <?php echo $post->getFormattedDatetime() ?>
    </span>
    <br/><br/>
    <?php echo $post->getExcerpt() ?>
  </div>
<?php endforeach ?>
